package com.mlegrand.firestarter.util
{
	import mx.effects.Fade;
	
	public class EffectsFactory
	{
		
		public static var EFFECT_DURATION:Number = 200;
		
		public static function fadeOut():Fade
		{
			var f:Fade = new Fade();
			f.duration = EFFECT_DURATION;
			f.alphaTo = 0;
			f.alphaFrom = 1;
			return f;
		}

		public static function fadeIn():Fade
		{
			var f:Fade = new Fade();
			f.duration = EFFECT_DURATION;
			f.alphaFrom = 0;
			f.alphaTo = 1;
			return f;
		}
		
		public function EffectsFactory(){}

	}
}